﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
using System.Text.Json.Serialization;

namespace ThresholdAssistant.WebAPI.Models
{
    /// <summary>
    /// 微信登录参数
    /// </summary>
    public class WechatLoginParam
    {
        /// <summary>
        /// jscode
        /// </summary>
        [JsonProperty("js_code"), JsonPropertyName("js_code")]
        [Required(ErrorMessage = nameof(ErrorResultEnum.JsCodeIsNull))]
        public string JsCode { get; set; }
    }
}
